import './css/index.css'
import './less/index.less'
import runImg from './assets/1.gif'
// import logoImg from './assets/logo_small.png'
import './assets/fonts/iconfont.css'
// 添加iconfont图标
const i = document.createElement('i')
i.classList.add('iconfont')
i.classList.add('icon-qq')
document.body.appendChild(i)

// 添加图片
const img = document.createElement('img')
img.src = runImg
document.body.appendChild(img)

const odd = document.querySelectorAll('li:nth-child(odd)')
const even = document.querySelectorAll('li:nth-child(even)')
for (let i = 0; i < odd.length; i++) {
  odd[i].style.color = 'yellow'
}
for (let i = 0; i < even.length; i++) {
  even[i].style.color = 'green'
}
